﻿/******************************************************************************
* File description: cMock.h
* Function: 已弃用
* Current Version: 1.0.0
* Author: JNN
* Date: 2025-07-01
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
#ifndef CMOCK_H
#define CMOCK_H


#include <QObject>
#include "logHelper/debugLog.h"

class CMock : public QObject
{
    Q_OBJECT
public:
    CMock();


    Q_INVOKABLE bool            setExpInfo(int type, QString expName, QString consumableName = "");
    Q_INVOKABLE QStringList     getMainMethodList();
    Q_INVOKABLE QString         getConsumableByMainMethod(QString name);
    Q_INVOKABLE QStringList     getSingleMethodByMainMethod(QString name);
    Q_INVOKABLE QStringList     getSingleMethodList(int i, QString consumable = "");
    Q_INVOKABLE QStringList     getConsumableList();


    Q_INVOKABLE void            setExpBaseInfo(QVariantMap infoMap);

    Q_INVOKABLE int             getExperimentStepCount(int module, QString expName, QString consumable);
    Q_INVOKABLE int             getExperimentTotalTime(int module, QString expName, QString consumable);



signals:
    void experimentStatus(QString type, int status);



};

#endif // CMOCK_H
